package com.pine.dbant.common.plugin.meta;

import java.sql.Connection;

/**
 * @author xiaoyuan
 * @create 2022/12/27
 **/
public interface JdbcMetadataAnalysisConfig extends MetadataAnalysisConfig {

    /**
     * 获取连接
     * @return
     */
    Connection getConnection();

    /**
     * 配置连接
     * @param connection
     * @return
     */
    JdbcMetadataAnalysisConfig connection(Connection connection);

    /**
     * 获取拦截信息
     * @return
     */
    MetaAnalysisFilter getMetaAnalysisFilter();


    /**
     * 设置拦截器
     * @param filter
     * @return
     */
    MetadataAnalysisConfig filter(MetaAnalysisFilter filter);
}
